
package com.jf.cloud.payment.bo;


import com.jf.cloud.common.constant.PayType;

/**
 * 退款信息
 * @author zz
 */
public class RefundInfoBO {

    /**
     * 支付方式
     */
    private PayType payType;

    /**
     * 支付单号
     */
    private Long payId;

    /**
     * 支付单号
     */
    private Long refundId;

    /**
     * 退款序号
     */
    private Integer refundNumber;

    /**
     * 付款金额
     */
    private Long payAmount;

    /**
     * 退款金额
     */
    private Long refundAmount;

    /**
     * 通知结果
     */
    private String notifyUrl;

    /**
     * 是否直接退款
     */
    private Integer onlyRefund;

    private Long userId;

    public Integer getRefundNumber() {
        return refundNumber;
    }

    public void setRefundNumber(Integer refundNumber) {
        this.refundNumber = refundNumber;
    }

    public PayType getPayType() {
        return payType;
    }

    public void setPayType(PayType payType) {
        this.payType = payType;
    }

    public Long getPayId() {
        return payId;
    }

    public void setPayId(Long payId) {
        this.payId = payId;
    }

    public Long getRefundId() {
        return refundId;
    }

    public void setRefundId(Long refundId) {
        this.refundId = refundId;
    }

    public Long getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Long payAmount) {
        this.payAmount = payAmount;
    }

    public Long getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Long refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public Integer getOnlyRefund() {
        return onlyRefund;
    }

    public void setOnlyRefund(Integer onlyRefund) {
        this.onlyRefund = onlyRefund;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "RefundInfoBO{" +
                "payType=" + payType +
                ", payId=" + payId +
                ", refundId=" + refundId +
                ", payAmount=" + payAmount +
                ", refundAmount=" + refundAmount +
                ", notifyUrl='" + notifyUrl + '\'' +
                ", onlyRefund=" + onlyRefund +
                ", userId=" + userId +
                '}';
    }
}
